package com.ktwlsoft.fundmanage.domain.repository;

import com.ktwlsoft.fundmanage.domain.entity.HouseRelatedPerson;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HouseRelatedPersonRepository extends JpaRepository<HouseRelatedPerson, Long> {

    /**
      * 通过交易编号查询数据 on 2019/9/4 14:24
      *
      * @param tsCode tsCode
      * @return List<HouseRelatedPerson>
      */
    List<HouseRelatedPerson> findByTsCode(Long tsCode);

    int deleteByTsCode(long tsCode);
}
